package response

type Response[T any] struct {
	Code string
	Info string
	Data T
}

func NewResponse[T any](code string, info string, data T) Response[T] {
	return Response[T]{
		Code: code,
		Info: info,
		Data: data,
	}
}
